USE [CTEM-DB-v1]
GO

/****** Object:  StoredProcedure [dbo].[Ledger_GetforAllReport]    Script Date: 02/10/2012 11:19:13 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		Hai
-- Create date: 08/02/2012
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE  [dbo].[Ledger_GetforAllReport]
            @Type            nvarchar(50),
            @Formday         datetime,
            @ToDay           datetime
AS
BEGIN
	 SELECT*
	 From Ledger V
	 Where 
	       V.Type like @Type
	       and V.Date >= @Formday
	       and V.Date <= @ToDay
	
END

GO

